package com.home.simple.model;

import java.util.Date;
import java.util.List;

public class Reservation {

	private Integer id;
	private String courtName;
	private List<Person> personList;
	private Date time;
	
	public Reservation(){
		
	}
	
	public Reservation(Integer id, String courtName, List<Person> personList,
			Date time) {
		super();
		this.id = id;
		this.courtName = courtName;
		this.personList = personList;
		this.time = time;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCourtName() {
		return courtName;
	}
	public void setCourtName(String courtName) {
		this.courtName = courtName;
	}
	public List<Person> getPersonList() {
		return personList;
	}
	public void setPersonList(List<Person> personList) {
		this.personList = personList;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	
}
